//
// Created by wkm on 2023-12-11.
//

#ifndef GCDSYSTEMCTEST_GCD_MONITOR_H
#define GCDSYSTEMCTEST_GCD_MONITOR_H

#include "systemc.h"
#include "gcd.h"

SC_MODULE(gcd_monitor) {
    sc_in<sc_uint<WIDTH>> m_first, m_second;
    sc_in<bool> m_reset;
    sc_in<sc_uint<WIDTH>> m_result;

    void prc_gcd_monitor();

    SC_CTOR(gcd_monitor) {
        SC_METHOD(prc_gcd_monitor);
        sensitive << m_first << m_first << m_reset << m_result;
    }
};

#endif //GCDSYSTEMCTEST_GCD_MONITOR_H
